package rak.r91.data;

import java.io.Serializable;

public class ItemAttribute implements Serializable{
	private static final long serialVersionUID = 8183684811043461572L;
	private int itemAttributeID;
	private Item item;
	private String name;
	private String valueTexto;
	private int valueNumber;
	private int OrderBy;
	private int dataType;
	
	//type attribute
	private int typeAttributeID;
	private boolean required;
	private boolean createdByDefault;
	
	public void setItemAttributeID(int itemAttributeID) {
		this.itemAttributeID = itemAttributeID;
	}
	public int getItemAttributeID() {
		return itemAttributeID;
	}

	public void setItem(Item item) {
		this.item = item;
	}
	public Item getItem() {
		return item;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setValueText(String valueText) {
		this.valueText = valueText;
	}
	public String getValueText() {
		return valueText;
	}
	public void setValueNumber(int valueNumber) {
		this.valueNumber = valueNumber;
	}
	public int getValueNumber() {
		return valueNumber;
	}
	public void setOrderBy(int orderBy) {
		OrderBy = orderBy;
	}
	public int getOrderBy() {
		return OrderBy;
	}
	public void setTypeAttributeID(int typeAttributeID) {
		this.typeAttributeID = typeAttributeID;
	}
	public int getTypeAttributeID() {
		return typeAttributeID;
	}
	public void setRequired(boolean required) {
		this.required = required;
	}
	public boolean isRequired() {
		return required;
	}
	public void setCreatedByDefault(boolean createdByDefault) {
		this.createdByDefault = createdByDefault;
	}
	public boolean isCreatedByDefault() {
		return createdByDefault;
	}
	public void setDataType(int dataType) {
		this.dataType = dataType;
	}
	public int getDataType() {
		return dataType;
	}
}
